home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11612 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.6 KB

  1. Path: solon.com!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c,comp.lang.c.moderated
  4. Subject: Re: Recommend a book, REALLY!
  5. Date: 25 Mar 1996 06:24:32 -0600
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4j63a0$3kk@solutions.solon.com>
  10. References: <4j06oe$81u@solutions.solon.com>
  11. NNTP-Posting-Host: solutions.solon.com
  12.  
  13. In article <4j06oe$81u@solutions.solon.com>,
  14. Reed Mangino <mangino@planet.net> wrote:
  15. >Let me tell you how things are going:  I started to read Schildt's "C The 
  16. >Complete Reference" and I almost cried myself to sleep.  I don't even 
  17. >know the language well and I could tell this thing bites!
  18. >
  19. >Then I get a book called "C In Plain English".  On page 245 of the 
  20. >***C*** book he writes: test_val = int(sqrt(n));  Is it me or is that the 
  21. >function style of casting to an int that our friend C++ likes?  On page 
  22. >240 he declares, "To the following is perfectly legal:
  23. >        void fnct(const char str[], const double *px, *py);
  24. >I am wondering what type *py has.  He does this kind of crap throughout 
  25. >the darn book!
  26.  
  27. Some writers sure have gall, don't they? I bet he never even tested the crap.
  28. The ``*py'' has no type! It is a syntax error, plain and simple.
  29.  
  30. Parameter declarations are not allowed to have more than one declarator.
  31.  
  32. The guy who wrote this book is a buffoon looking for a way to make a quick
  33. buck. Don't let him have yours.
  34.  
  35. I study the damn language, yet I wouldn't _dare_ write a book about it.
  36.  
  37. Plus with the K&R2 and the ISO/IEC standard, all further C books are
  38. redundant, superfluous, wasteful of paper, etc. You get the picture.
  39.  
  40. >I have been programming in C++ for about 3-4 years, so I already know how 
  41. >things work I just need to get a good, SOLID, book on C (just C!)  I have 
  42. >ordered the K&R text along with an annotated book on the standard C 
  43. >library (this might help me understand how things _should_ be done in C, 
  44. >not to mention that I have been using iostream.h forever!)
  45.  
  46. If you are in a University town, find out if one of the institution's libraries
  47. carries a copy of the ISO or ANSI C standard document.
  48.  
  49. This is where I go to study it once in a while. It saves me from spending 350
  50. bucks on my own copy. If I was desperate, I could photocopy the whole thing for
  51. $0.07 x 219, or just over fifteen bucks (in fact one librarian actually
  52. encouraged me to do so, believe it or not!) Being the honest citizen that I am
  53. (ha ha), I'm content to instead come to the library (a wonderful environment in
  54. any case) and peruse.
  55. -- 
  56.